package com.cresch.ical.downloader.ical;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.TreeMap;

/**
 * 
 * @author Resch Christian
 *
 */
public class VCalendar {
	private String version;
	private String calendarScale;
	
	public static final String LINESEPERATOR = "\n";
	public static final String DELIMITER = ":";
	public static final String VERSION = "VERSION"+DELIMITER;
	public static final String CALSCALE = "CALSCALE"+DELIMITER;
	public static final String STARTTAG = "BEGIN:VCALENDAR";
	public static final String ENDTAG = "END:VCALENDAR";
	
	public VCalendar() {
		this.eventList = new TreeMap<String, VEvent>();
		this.orderdEventList = new ArrayList<VEvent>();		
	}
	
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getCalendarScale() {
		return calendarScale;
	}
	public void setCalendarScale(String calendarScale) {
		this.calendarScale = calendarScale;
	}
	
	public TreeMap<String, VEvent> eventList;	
	public ArrayList<VEvent> orderdEventList;
}
